package com.globallogic.oopbasics.competence.entity;

/**
 * @author olena.strelchuk
 */

/**
 * Specialist is a definite Person with a set of Competencies
 */
public class Specialist {
	
	private int id;
	private String firstName;
	private String lastName;

	/**
	 * Constructor for Specialist
	 */
	public Specialist(int id, String firstName, String lastName) {
		this.id = id;
		this.firstName = firstName;
		this.lastName = lastName;
	}
	
	/**
	 * toString Method for Specialist
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return id + ". " + firstName + " " + lastName;
	}
}